<?php slot('header')?>
<script type="text/javascript">
$(function(){
	MAIN.setMenu('product');
	$('.slide').nivoSlider();
	$('.hz-video').each(function(){
		var $ob = $(this);
		jwplayer($ob.attr('id')).setup({
        file: $ob.attr('data-video-url'),
        image: $ob.attr('data-photo-url'),
        width: $ob.attr('data-width'),
        height: $ob.attr('data-height')
    });
	});
});
</script>
<?php end_slot()?>

		<nav class="content">
			<a href="<?php echo url_for2('product')?>"><h1>Sản phẩm</h1></a>
			<ul>
				<?php foreach($data['cates'] as $cate):?>
				<li><a class="<?php echo intval($data['cate_id']) == intval($cate['id'])? '-active': ''?>" href="<?php echo url_for2('product', array('cate_id' => $cate['id'], 'level_id' => $data['level_id']))?>" title="<?php echo $cate['name']?>" alt="<?php echo $cate['name']?>"><h1><?php echo $cate['name']?></h1></a></li>
				<?php endforeach?>
			</ul>
			<div class="clr"></div>
		</nav>
		<div>
			<?php include_component('componentUlti', 'product', array('act' => $data['act']))?>
		</div>
	
		
